|
Server : LiteSpeed System : Linux host 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64 User : idnco5810 ( 1093) PHP Version : 8.2.29 Disable Function : NONE Directory : /proc/self/root/snap/core20/current/usr/lib/python3.8/asyncio/__pycache__/ |
Upload File : |
U
>�h|C � @ s� d Z dZddlZddlZddlZddlmZ ddlmZ ddlmZ ddlm Z G d d
� d
�Z
G dd� d�ZG d
d� de�ZG dd� d�Z
G dd� de�ZG dd� de�ZG dd� de�ZdS )zSynchronization primitives.)�Lock�Event� Condition� Semaphore�BoundedSemaphore� N� )�events)�futures)�
exceptions)�
coroutinesc @ s( e Zd ZdZdd� Zdd� Zdd� ZdS ) �_ContextManagera\ Context manager.
This enables the following idiom for acquiring and releasing a
lock around a block:
with (yield from lock):
<block>
while failing loudly when accidentally using:
with lock:
<block>
Deprecated, use 'async with' statement:
async with lock:
<block>
c C s
|| _ d S �N)�_lock)�self�lock� r �#/usr/lib/python3.8/asyncio/locks.py�__init__"